"use strict";

exports.page = async function() {
	this.view = 'branch/spirit';
    //this.output = 'json';
    let b = this.branch;
    let p = this.config.get("local.port")||8080;
    let r = this.config.get("spirit.route")||'spirit';
    let api = ['',b,r,'page'].join('/');
    let uri = ['http://127.0.0.1',p].join(':')
    let url = [uri,api].join('');
    let data = {"ts":0,"sid":0,"avg":0};
    let d= await this.library("request/post",url,data,true);
	return d['ret'];
}